package com.forsythia.sns.pagination;

public class PaginationUtils {
    public static int getFirstResult(int pageNumber, int pageSize){
        return (pageNumber - 1) * pageSize;
    }
    
    public static int getFetchSize(int pageNumber, int pageSize){
        return pageSize;
    }
}
